package com.gm.bean;


import java.util.Date;

/**
 * @Author Administrator
 * @Date 2020/6/23 10:22
 **/
public class UserInfo {
    private Integer id;
    private String nickname;    //昵称
    private String password;    //密码
    private String realname;    //真实姓名
    private Integer phone;      //手机号
    private Integer gender;     //性别 0：男，1：女
    private Integer age;        //年龄
    private Date createTime;    //更新时间
    private Date updateTime;    //修改时间

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", nickname='" + nickname + '\'' +
                ", password='" + password + '\'' +
                ", realname='" + realname + '\'' +
                ", phone=" + phone +
                ", gender=" + gender +
                ", age=" + age +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public UserInfo() {
    }

    public UserInfo(Integer id, String nickname, String password, String realname, Integer phone, Integer gender, Integer age, Date createTime, Date updateTime) {
        this.id = id;
        this.nickname = nickname;
        this.password = password;
        this.realname = realname;
        this.phone = phone;
        this.gender = gender;
        this.age = age;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
